import tools.Range;

public class ForInInt {
    public static void main(String[] args) {
        for (int i : Range.range(5, 10)) {
            System.out.print(i + " ");
        }
        System.out.println();

        for (int i : Range.range(10)) {
            System.out.print(i + " ");
        }
        System.out.println();

        for (int i : Range.range(0, 10, 2)) {
            System.out.print(i + " ");
        }
        System.out.println();

        for (int i : Range.range(10, 0, -2)) {
            System.out.print(i + " ");
        }
    }
}
